<h1><?php echo $title; ?></h1>
<div class="noprint">
<?php if (isset($notice) || $notice = $this->session->flashdata('notification')):?>
<p class="notice"><?php echo $notice;?></p>
<?php endif;?>


</div>

<?php echo anchor('adozioni/contabilita/offerte/ricevuta/' . $row['id'], __("Stampa Ricevuta", $module)) ?> | 
<?php echo anchor('adozioni/contabilita/offerte/edit/' . $row['id'], __("Modifica", $module)) ?> | 
<?php echo anchor('adozioni/contabilita/offerte/trash/' . $row['id'], __("Elimina offerta", $module, array('class' => 'delete'))) ?> 

<table border="0" class="form">
  <tr>
    <th><?php echo __("Sostenitore", $module) ?></th>
    <td class="item1"><?php echo anchor('adozioni/anagrafica/sostenitori/show/' . $row['id_sostenitore'], $row['sostenitore']); ?></td>
  </tr>
  <?php if($row['assistito']): ?>
  <tr>
    <th><?php echo __("Assistito", $module) ?></th>
    <td class="item1"><?php echo $row['assistito']; ?></td>
  </tr>
  <?php endif; ?>
  <tr>
    <th><?php echo __("Missione di destinazione", $module) ?></th>
    <td class="item1"><?php echo $row['missione']; ?></td>
  </tr>
  <tr>
    <th><?php echo __("Categoria/sottocategoria", $module) ?></th>
    <td class="item1"><?php echo $row['cat'] . ' - ' . $row['sottocat']; ?></td>
  </tr>
  <tr>
    <th><?php echo __("Valore offerta", $module) ?></th>
    <td class="item1"><?php echo format_euro($row['valore']); ?></td>
  </tr>
  <tr>
    <th><?php echo __("Trattenuta ufficio", $module) ?></th>
    <td class="item1"><?php echo format_euro($row['trattenuta']) . " (" . $row['trattenuta_txt'] . " %)"; ?></td>
  </tr>
  <tr>
    <th><?php echo __("Netto versatto", $module) ?></th>
    <td class="item1"><?php echo format_euro($row['netto']); ?></td>
  </tr>
  <tr>
    <th><?php echo __("Data offerta", $module) ?></th>
    <td class="item1"><?php echo data($row['data']); ?></td>
  </tr>
  <tr>
    <th><?php echo __("Conto", $module) ?></th>
    <td class="item1"><?php echo $row['conto']; ?></td>
  </tr>
  <tr>
    <th><?php echo __("Protocollo", $module) ?></th>
    <td class="item1"><?php echo $row['protocollo']; ?></td>
  </tr>
  <tr>
    <th><?php echo __("Note", $module) ?></th>
    <td class="item1"><?php echo nl2br($row['note']); ?></td>
  </tr>
</table>
